home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / cxref_1_4a.lha / cpp / config.h < prev    next >
C/C++ Source or Header  |  1997-12-07  |  2KB  |  94 lines

  1. /***************************************
  2.   $Header: /home/amb/cxref/cpp/RCS/config.h 1.3 1997/04/25 18:33:00 amb Exp $
  3.  
  4.   System configuration header file config.h.
  5.   ******************/ /******************
  6.   Written by Andrew M. Bishop
  7.  
  8.   This file consists of parts taken from GNU CC.
  9.  
  10.   GNU CC is free software; you can redistribute it and/or modify
  11.   it under the terms of the GNU General Public License as published by
  12.   the Free Software Foundation; either version 2, or (at your option)
  13.   any later version.
  14.   ***************************************/
  15.  
  16.  
  17. #ifndef CONFIG_H
  18. #define CONFIG_H    /*+ To stop multiple inclusions. +*/
  19.  
  20. /****************************************************************************/
  21.  
  22. #if defined(__SASC) && defined(AMIGA)    /* olsen */
  23. #define USE_PROTOTYPES 1
  24. #define STDC_HEADERS 1
  25. #define HAVE_FCNTL_H 1
  26. #define HAVE_STDLIB_H 1
  27. #define HAVE_SYS_TIME_H 1
  28. #define HAVE_UNISTD_H 1
  29. #define HAVE_VPRINTF 1
  30. #define LOCAL_INCLUDE_DIR "sc:include"
  31. #define TOOL_INCLUDE_DIR LOCAL_INCLUDE_DIR
  32. #define GCC_INCLUDE_DIR LOCAL_INCLUDE_DIR
  33. #define GPLUSPLUS_INCLUDE_DIR "."
  34. #define CPP_PREDEFINES "-D_AMIGA=1 -D_M68000=1 -D__SASC=1 -D__SASC_60=1 -D__SASC_650=1 -D__VERSION__=6 -D__REVISION__=50 -DAMIGA=1 -DLATTICE=1 -DLATTICE_50=1"
  35.  
  36. extern void * alloca(unsigned int );
  37.  
  38. #define HOST_BITS_PER_LONG 32
  39. #define HOST_BITS_PER_INT 32
  40. #endif /* defined(__SASC) && defined(AMIGA) */
  41.  
  42. /****************************************************************************/
  43.  
  44. /* This describes the machine the compiler is hosted on.  */
  45.  
  46. #if defined(dsp1600) || defined(__H8300__)
  47. #define HOST_BITS_PER_INT 16
  48. #else
  49. #define HOST_BITS_PER_INT 32
  50. #endif
  51.  
  52. #if defined(__alpha)
  53. #define HOST_BITS_PER_LONG 64
  54. #elif defined(mips) && (_MIPS_SZINT==64 || defined(__mips64))
  55. #define HOST_BITS_PER_LONG 64
  56. #else
  57. #define HOST_BITS_PER_LONG 32
  58. #endif
  59.  
  60.  
  61. /* Target machine dependencies. */
  62.  
  63. #include "tm.h"
  64.  
  65.  
  66. /* Use System V memory functions (if needed). */
  67.  
  68. #if NEED_SVR4_STRINGS
  69.  
  70. #define bcmp(a,b,c)  memcmp(a,b,c)
  71. #define bcopy(a,b,c) memcpy(b,a,c)
  72. #define bzero(a,b)   memset(a,0,b)
  73.  
  74. #define index  strchr
  75. #define rindex strrchr
  76.  
  77. #define USG
  78. #define BSTRING
  79.  
  80. #endif
  81.  
  82.  
  83. /* Exit codes. */
  84.  
  85. #ifndef FATAL_EXIT_CODE
  86. #define FATAL_EXIT_CODE 33    /* gnu cc command understands this */
  87. #endif
  88.  
  89. #ifndef SUCCESS_EXIT_CODE
  90. #define SUCCESS_EXIT_CODE 0    /* 0 means success on Unix.  */
  91. #endif
  92.  
  93. #endif /* CONFIG_H */
  94.